import { Get, Controller, Body, Post } from '@nestjs/common';
import { GisService } from './gis.service';
import { GisGetInfoDto } from './dto/gis-modal';
// import { CustomerService } from './chat.service';
// import { UserService2 } from '../user/user.service';
// import { CreateCustomerDto } from './dto/create-customer.dto';

@Controller('gis')
export class GisController {
  constructor(private readonly gisService: GisService) {}
  @Get('/')
  hello() {
    return 'this is gis';
  }
  @Post('/info')
  getInfo(@Body() body: GisGetInfoDto) {
    const { message } = body;
    return this.gisService.getInfo({ message });
  }
}
